package com.imut.oa.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@TableName(value ="attendance")
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Attendance {
    @TableId(type = IdType.AUTO)
    private Long id;
    @TableField("employeeId")
    private Long employeeId;
    @TableField("clockTime")
    private LocalDateTime clockTime;
    private BigDecimal longitude;
    private BigDecimal latitude;
    @TableField("attendanceType")
    private int attendanceType;
    private Integer status;
    private String remark;
    @TableField("createTime")
    private LocalDateTime createTime;
}
